package com.navinfo.collect.fragment

import android.view.View
import android.widget.Button
import com.navinfo.collect.R

class MainFragment : BaseFragment() {
    override fun getLayoutRes(): Int {
        return R.layout.fragment_main
    }

    override fun initView(view: View) {
        var lineString = view.findViewById<Button>(R.id.fragment_main_add);
        lineString.setOnClickListener {
            NIFragmentManager.instance.switchFragment(NewDataFragment());
        }
    }
}